-
Home
-
Paymattic – Secure, Simple Payment & Donation with Subscription Payments, Recurring Donations, Customer Management
-
4.6.11 (latest)
-
Code
-
Classes
- StripeHostedHandler
Total Complexity |
128 |
Dependencies |
18 |
Dependents |
3 |
Total lines |
929 |
Lines of code |
711 |
Logical lines of code |
390 |
Comment lines |
37 |
Methods |
16 |
Properties |
1 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
redirectToStripe() |
B |
33 |
20 |
100 |
handleChargeCaptured() |
B |
32 |
18 |
114 |
getSubscriptionArgs() |
B |
36 |
18 |
82 |
handleCheckoutSessionSuccess() |
B |
35 |
13 |
92 |
getLineItems() |
A |
42 |
10 |
57 |
processRefundTransaction() |
A |
47 |
7 |
35 |
syncSubscription() |
A |
44 |
6 |
49 |
showSuccessMessage() |
S |
49 |
7 |
29 |
cancelSubscription() |
S |
48 |
4 |
37 |
markPaymentSuccess() |
S |
54 |
5 |
21 |
captureAuthorizedAmount() |
S |
53 |
5 |
21 |
maybeSetCancelAt() |
S |
54 |
5 |
20 |
markPaymentCancel() |
S |
56 |
3 |
18 |
showCancelMessage() |
S |
58 |
3 |
15 |
getIntentMetaData() |
S |
61 |
3 |
13 |
registerHooks() |
S |
65 |
1 |
8 |